runtime.spanClass.sizeclass (method)

9 uses

	runtime (current package)
		mcache.go#L164: 		atomic.Xadd64(&stats.smallAllocCount[spc.sizeclass()], slotsUsed)
		mcache.go#L274: 			atomic.Xadd64(&stats.smallAllocCount[spanClass(i).sizeclass()], slotsUsed)
		mcentral.go#L83: 	spanBytes := uintptr(class_to_allocnpages[c.spanclass.sizeclass()]) * _PageSize
		mcentral.go#L243: 	npages := uintptr(class_to_allocnpages[c.spanclass.sizeclass()])
		mcentral.go#L244: 	size := uintptr(class_to_size[c.spanclass.sizeclass()])
		mgcsweep.go#L736: 	if spc.sizeclass() != 0 {
		mgcsweep.go#L745: 			atomic.Xadd64(&stats.smallFreeCount[spc.sizeclass()], int64(nfreed))
		mheap.go#L581: func (sc spanClass) sizeclass() int8 {
		mheap.go#L1398: 		if sizeclass := spanclass.sizeclass(); sizeclass == 0 {